#ifndef STORAGE_TYPES_H
#define STORAGE_TYPES_H
#include <string>
struct SinglePhysicalPartitionInfo{
    std::string partition_device_path;
    int total_space_mbyte;
    int free_space_mbyte;
    std::string mount_point;
    std::string partition_uuid;
};
struct SinglePhysicalDiskInfo
{
    std::string disk_device_path; // 磁盘名字，值为磁盘的路径
    std::string disk_id;
    std::string disk_type; //参照 sd|nvme|vd|xvd|mmcblk
    int disk_total_space_mbyte;
    int disk_free_space_mbyte;
    
    SinglePhysicalPartitionInfo* p_partitions_list;
    int partition_numbers;
};

struct DataStructure
{
    int num_of_disks;
    SinglePhysicalDiskInfo *p_disks_list; // p 表示pointer
};
#endif // STORAGE_TYPES_H